package com.chengyu.core.service.ty;

import com.chengyu.core.exception.ServiceException;
import com.chengyu.core.model.TyQuote;
import com.chengyu.core.model.UmsMember;

import java.math.BigDecimal;
import java.util.List;
import java.util.Map;

public interface TyQuoteService {

//    Boolean add(UmsMember member, String orderNo, String price, String priceDesc) throws ServiceException;

    Boolean add(UmsMember member, String orderNo, BigDecimal price, String priceDesc) throws ServiceException;

    Boolean add(UmsMember member, String orderNo, Map<String, BigDecimal> map_price, String priceDesc) throws ServiceException;

    List<TyQuote> getQuoteList(String orderNo, Integer page, Integer pageSize);

    long getQuoteCount(String orderNo,Integer memberId);


    Long getQuoteCount(String orderNo);


}
